package group.ocr.Service;

import group.ocr.pojo.image;
import group.ocr.pojo.singleCharacters;
import org.codehaus.jettison.json.JSONException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SingleCharactersService {
    List<singleCharacters> search(String characterName,String font,String author,String title);
    void collectSingleCharacter(int id);
    List<singleCharacters>selectAllSingleCharacters();
    String saveSingleCharacters(MultipartFile image, String title, String font , String author) throws JSONException, IOException;
}
